Bookly\Lib\Entities\Notification A

Total Complexity 58
Dependencies 4
Dependents 22
Total lines 687
Lines of code 248
Logical lines of code 83
Comment lines 262
Methods 44
Properties 20

Methods 44

Method Rating Maintainability Complexity Lines of code
save()
S
59 4 14
initTypeIds()
S
52 2 27
initIcons()
S
54 2 24
initTitles()
S
56 2 17
getTypes()
S
59 2 15
matchesItemForStaff()
S
73 2 4
matchesItemForClient()
S
74 2 4
getSettingsObject()
S
71 2 6
getTypeId()
S
71 2 6
getIcon()
S
70 2 6
getTitle()
S
70 2 6
getTypeString()
S
75 2 4
getToCustomer()
S
82 1 3
setSubject()
S
77 1 4
getMessage()
S
82 1 3
setMessage()
S
77 1 4
getToStaff()
S
82 1 3
setToStaff()
S
77 1 4
getAttachIcs()
S
82 1 3
setToCustomer()
S
77 1 4
setName()
S
77 1 4
setAttachIcs()
S
77 1 4
getAttachInvoice()
S
82 1 3
setAttachInvoice()
S
77 1 4
getSettings()
S
82 1 3
setSettings()
S
77 1 4
getSubject()
S
82 1 3
setCustomRecipients()
S
77 1 4
getName()
S
82 1 3
getAssociated()
S
67 1 8
getCustomRecipients()
S
82 1 3
setToCustom()
S
77 1 4
getToCustom()
S
82 1 3
getTranslatedMessage()
S
77 1 3
getToAdmin()
S
82 1 3
setActive()
S
77 1 4
getActive()
S
82 1 3
setType()
S
77 1 4
getType()
S
82 1 3
setGateway()
S
77 1 4
getGateway()
S
82 1 3
getTranslatedSubject()
S
77 1 3
getWpmlName()
S
78 1 3
setToAdmin()
S
77 1 4